function importJs(path) {
	$.ajax({
		url : path,
		dataType : "script",
		async : false
	});
}

function importCss(path) {
	var a = document.createElement("link");
	a.rel = "stylesheet";
	a.href = path;
	var head = document.getElementsByTagName("head")[0];
	head.appendChild(a);
}

// metor
importJs("/common/plugin/metro/js/metro.min.js");
importCss("/common/plugin/metro/css/metro.min.css");
importCss("/common/plugin/metro/css/metro-colors.min.css");
importCss("/common/plugin/metro/css/metro-icons.min.css");
importCss("/common/plugin/metro/css/metro-responsive.min.css");
importCss("/common/plugin/metro/css/metro-schemes.min.css");
importCss("/common/plugin/metro/css/metro-rtl.min.css");

// loading
importCss("/common/plugin/loading/src/jquery.mloading.css");
importJs("/common/plugin/loading/src/jquery.mloading.js");

// 系统的js
importJs("/common/core/global.js");
importJs("/common/core/config.js");
importJs("/common/core/ui.js");
importJs("/common/core/file.js");

// 系统的css
//importCss("/common/core/tlx.css");
